 stringFormat = function(src){
     if (arguments.length == 0) return null;
     var args = Array.prototype.slice.call(arguments, 1);
     return src.replace(/\{(\d+)\}/g, function(m, i){
         return args[i];
     });
 };
 
 
 
 //导出该路由
 module.exports = stringFormat;